package com.l024.easyandroid;

import android.app.Application;

import com.l024.easyandroidlib.EasyAndroid;
import com.l024.easyandroidlib.http.HttpManager;
import com.l024.easyandroidlib.http.config.HttpConfig;

public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();

        //初始化基本架构
        EasyAndroid.init(this,"/sdcard/EasyAndroid/logs/");
        //初始化http
        HttpManager.getInstance().init(new HttpConfig() {
            @Override
            public String baseUrl() {
                return "https://www.wanandroid.com";
            }
        });
    }
}
